]> dgit.raspbian.org Git - gnome-shell.git/commit
environment: Use replaceAll()
authorAlessandro Bono <alessandro.bono369@gmail.com>
Fri, 20 Feb 2026 22:57:14 +0000 (23:57 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Mar 2026 17:38:55 +0000 (18:38 +0100)
commit78070b14f17dbb59145837bb37a95cdee7a4aa9d
tree9b2e3bbfafc1963eaa5722e511664e840598a526
parent07a027d783137d8d019ab27c05982666775fd4b1
environment: Use replaceAll()

The replace() function expects two parameters, likely the third one
was ignored. Use replaceAll() to replace all the occurrences, not
just the first one.

Fixes: 007b6ca2e ("environment: Add convenience method for implicit animations")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4084>
(cherry picked from commit 10cd1a875ddaff97b0d2220d2ad7f650da8976df)
js/ui/environment.js